//
//  TJNewController.m
//  Teleport
//
//  Created by botu　 on 2020/8/11.
//  Copyright © 2020 byx. All rights reserved.
//

#import "TJNewController.h"

@interface TJNewController ()
@property (weak, nonatomic) IBOutlet UILabel *finishLabel1;
@property (weak, nonatomic) IBOutlet UILabel *finishLabel2;

@end

@implementation TJNewController

- (void)viewDidLoad {
    [super viewDidLoad];
     self.navigationBar.title = @"新手引导".localizedString;
    
    TJUserInfo *userInfo = TJUserInfo.readInfo;
   
    if (![userInfo.cardState isEqualToString:@"PASS"]) {
        self.finishLabel1.textColor = UIColor.redColor;
        self.finishLabel1.text = @"未完成";
    }
    
    if (!userInfo.bankCard.replacingEmptyString.length) {
        self.finishLabel1.textColor = UIColor.redColor;
        self.finishLabel1.text = @"未完成";
    }
}


- (IBAction)goBuyBtnClick {

    [self dismissViewControllerAnimated:YES completion:nil];}

@end
